package hongcaosp.app.android.modle.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class Pagebean<T> {
    @JSONField(name = "list")
    private List<T> list;
    @JSONField(name = "total")
    private int total;
    @JSONField(name = "pageNum")
    private int pageNum;

    public void setList(List<T> list) {
        this.list = list;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public List<T> getList() {
        return list;
    }

    public int getTotal() {
        return total;
    }

    public int getPageNum() {
        return pageNum;
    }
}
